﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="NewRequest.aspx.cs" Inherits="NewRequest" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table>
        <tr>
            <td>
                金额</td>
            <td style="width: 442px">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1"
                    ErrorMessage="请输入合法报销金额" ValidationExpression="^[0-9]*\.?[0-9]{0,2}$"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="height: 70px">
                报销事由</td>
            <td style="width: 442px; height: 70px">
                <asp:TextBox ID="TextBoxReason" runat="server" Height="67px" TextMode="MultiLine"
                    Width="242px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxReason"
                    ErrorMessage="报销事由不能为空"></asp:RequiredFieldValidator></td>
        </tr>
    </table>
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="提交" />
    <br />
    <br />
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">返回</asp:HyperLink>
   
</asp:Content>

